﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using MododorWebAPI.Models;

namespace MododorWebAPI.EntityConfigs
{
    public class ClientEntityConfig : IEntityTypeConfiguration<ClientModel>
    {
        public void Configure(EntityTypeBuilder<ClientModel> builder)
        {
            builder.ToTable("Client");
            builder.Property(x => x.ClientEN).HasDefaultValue(true);
        }
    }
}
